package com.qf.dto;

import com.qf.pojo.Course;
import com.qf.pojo.Teacher;

public class TeacherDto extends Teacher{
    private String courseName;

    public TeacherDto() {
    }

    public TeacherDto(String username, String password, String name, String sex, int age, String photo, int courseId) {
        super(username, password, name, sex, age, photo, courseId);
    }



    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    @Override
    public String toString() {
        return "TeacherDto{" +
                "courseName='" + courseName + '\'' +
                '}';
    }
}
